package com.seafood.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * 文件上传请求DTO
 */
@Data
public class FileUploadRequestDTO {
    
    @NotBlank(message = "业务类型不能为空")
    private String businessType;
    
    private Long businessId;
    
    private String description;
    
    private String tags;
    
    private Boolean isPublic = true;
    
    // 是否生成缩略图（仅图片文件）
    private Boolean generateThumbnail = false;
    
    // 缩略图尺寸
    private Integer thumbnailWidth = 200;
    private Integer thumbnailHeight = 200;
}